// sql语句
var sqlMap = {
  user: {
    // 添加用户
    add: 'insert into user(name, age,password,tel) values (?, ?, ?,?)',
    // 查询用户
    select: 'select * from user where name like "%"?"%"',
    // login: 'select * from user where name=? and password=?',
    login: 'select * from user where name=? and password=?',
    deletes: 'delete from user where name=? and age=?'
  }
}

module.exports = sqlMap;
